package com.yyx.lgb.manager.mapper;

import com.yyx.lgb.model.dto.system.SysRoleDto;
import com.yyx.lgb.model.entity.system.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: SysRoleMapper
 * Package: com.yyx.lgb.manager.mapper
 * Description:
 *
 * @Author: yyx
 * @Create: 2025/8/1 - 10:51
 */
@Mapper
public interface SysRoleMapper {

    List<SysRole> findByPage(SysRoleDto sysRoleDto);

    void saveSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteById(Long roleId);

    List<SysRole> findAllRoles();

}
